home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / plpak1.zip / PLPAK1.H < prev    next >
C/C++ Source or Header  |  1994-05-05  |  1KB  |  51 lines

  1. //---------------------------------------------------------------------------
  2. // This program demonstrates the controls in the Plumber Custom Control Pack
  3. // 1.  To see just how easy it is to add and use these controls in your app,
  4. // look for the lines of code ending in or surrounded with the comments,
  5. // " <--- Added."
  6. //---------------------------------------------------------------------------
  7.  
  8. #ifndef __PLPAK1__
  9. #define __PLPAK1__
  10.  
  11. #include <EditDate.h>                            // <--- Added
  12.  
  13. class CPlumberPack1 : public CWinApp
  14. {
  15. public:
  16.     virtual BOOL InitInstance();
  17. };
  18.  
  19. class CDlgWindow : public CDialog
  20. {
  21.  
  22. private:
  23.     CEditDate    m_EditDate;                        // <--- Added
  24.     CEditDate    m_ComboDate;                    // <--- Added
  25.     CEditDate    m_ScrollDate;                    // <--- Added
  26.  
  27. public:
  28.     CDlgWindow();
  29.  
  30. protected:
  31.     virtual void OnCancel ();
  32.     
  33.     //{{AFX_MSG(CDlgWindow)
  34.     afx_msg void OnWithCombo();                    // <--- Added
  35.     afx_msg void OnWithScroll();                // <--- Added
  36.     afx_msg LRESULT OnDateChanged (WPARAM WParam, LPARAM LParam);    // <--- Added
  37.     afx_msg void OnClose();
  38.     afx_msg void OnExit();
  39.     afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
  40.     virtual BOOL OnInitDialog();
  41.     afx_msg void OnHelp();
  42.     //}}AFX_MSG
  43.     DECLARE_MESSAGE_MAP()
  44.  
  45.  
  46. };
  47.  
  48. #endif
  49.  
  50.  
  51.